package com.qf.service;

import com.qf.pojo.MyInfo;

import java.util.List;

public interface MyInfoService {
    public List<MyInfo> findAll();
    public MyInfo findById(Integer id);
    public MyInfo addAndUpdate(MyInfo myInfo);
    public void delete(Integer id);

    public List<MyInfo> findByMat(Integer id);
    public List<MyInfo> findByMem(Integer id);
    public List<MyInfo> findByMco(Integer id);
    public List<MyInfo> findByMno(Integer id);

    public void deleteByMat(Integer id);
    public void deleteByMem(Integer id);
    public void deleteByMco(Integer id);
    public void deleteByMno(Integer id);

}
